dave wrote: > Ralf Mardorf wrote: > >>> Software removal using apt >>> <http://www.64studio.com/node/602#comment-2428> >>> >>> Hi Havoc, >>> >>> Software removal using apt-get remove --purge >>> $ = user # = root >>> Open a terminal and type: >>> >>> $ dpkg --get-selections > software1 >>> and again >>> $ dpkg --get-selections > software2 >>> >>> This will create 2 files in your home directory >>> software1 >>> software2 >>> These list the software installed, leave software1 alone. >>> >>> # grep "ice" software2 >>> # grep "cups" software2 >>> # grep "blue" software2 >>> # grep "bluetooth" software2 >>> etc.,etc., only you know what is not needed. >>> >>> # apt-get remove --purge (not needed software) >>> >>> Watch very carefully for shared libs and others apt might try to remove. >>> This method will also keep a .bash_history of the software you have >>> removed. >>> >>> $ dpkg --get-selections > software2 >>> >>> again will update the file minus the software removed. >>> >>> Cheers, >>> >>> dave >>> >>> >>> >> Hi Dave :) >> >> a very good solution. Thank you:). Is there a way also to get the >> versions of the packages? There's no need to do it, if someone will run >> a regular 64 Studio, so I think it would be off topic to ask this in the >> thread, but I'm running a mix of Debian versions and unofficial APT >> repositories. E.g. $ aptitude -V > ~/Desktop/versions.txt seems to be no >> good idea. I'll google myself for apt, aptitude and dpkg, --help wasn't >> a help for me. Maybe you (or someone else) have the answer ready to >> hand. If not, I'll search the net. >> >> Cheers, >> Ralf >> >> >> > > Hi Ralf, > > I use this method to remove unused software quickly and > keep a record in bash history. > > This is how I check versions. > > # dpkg --list > > # apt-cache search ardour > # apt-cache show ardour > # dpkg -l | grep "ardour" > > # apt-cache search 64studio > # apt-cache show 64studio > # dpkg -l | grep "64studio" > > # dpkg -l | grep "lib" > > # aptitude search '~i' > > Looking in synaptic is a good method, > apt, dpkg, and aptitude are other options. > Once you find the method you like, > it's good to stick with it. > > Cheers, > > dave. >
Thank you Dave :) I wish to have a method without a GUI, because it's much easier to use, when working in a terminal. So for me [EMAIL PROTECTED]:~$ dpkg -l > ~/Desktop/software_basic [EMAIL PROTECTED]:~$ dpkg -l > ~/Desktop/software_actual or something like this, will be a help, if I risk bizarre package experiments. And in addition to it tar -p (resp. without -p, because it's default for root) by another Linux, e.g. a live CD should be useful. I'm thinking of smart, my favourite with Suse, but as far as I can remember smart won't list versions like dpkg -l does :). dpkg --help says "-l|--list [<pattern> ...] List packages concisely." so I didn't believe it will give information about the versions. To learn more about Linux and especially about Debian, I try to help in the forum, but because I'm a noob my helps sometimes aren't good. I'm not able to learn just by reading, I need real problems to keep the learned stuff in mind. IMO it's a pity that there isn't a distro overarching packet management like smart standard for Linux. Apart from distros like Gentoo or a Linux from the scratch, this should be an option for each distro. I'm not sure if I should compile smart, because it looks like the project is dead. The alternatives to hwinfo for me are unfamilar. I'm not sure if I should ask people in the forum to install it, when I need information about there troubles. I use hwinfo for myself and no other commands and it seems to be the most powerful command. The versatility of Linux sometimes make things complicated. The SMPT server fails, I hope this message isn't send several times to the list. Sorry if so. I'll copy the mail into the providers mail client ... it's a Microsoft client ... I don't make deals with the devil ... I have to use the client by using Iceweasel, I have no Windows ;). A last try with Icedove ... okay, I have to try "Microsoft Outlook Web Access" ... hehe ... it won't work too, because "Ein Empfängername kann nicht aufgelöst werden." ... there's no need to translate this, it's an abnormal error ... I think I've to wait until Alice has fixed there Windows servers. Cheers, Ralf
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 64studio-users mailing list [email protected] http://lists.64studio.com/mailman/listinfo/64studio-users
