Hi,
I use Ubuntu and depend on Synaptic to install/uninstall packages and also to search for packages. I want to gradually learn to do the same things from the command line. Is there any way I can sort of ask synaptic to log all system commands (apt-get or whatever) that it executes with the options?
On Tue, Jul 15, 2008 at 3:14 AM, Puneet Lakhina puneet.lakhina@gmail.com wrote:
Hi,
I use Ubuntu and depend on Synaptic to install/uninstall packages and also to search for packages. I want to gradually learn to do the same things from the command line. Is there any way I can sort of ask synaptic to log all system commands (apt-get or whatever) that it executes with the options?
-- Puneet http://sahyog.blogspot.com/ Latest Post: javac -g -- http://mm.glug-bom.org/mailman/listinfo/linuxers
Check these out:
# cat /var/log/apt/term.log # zcat /var/log/apt/term.log.1.gz ...
On Tue, Jul 15, 2008 at 3:47 AM, Yesudeep yesudeep@gmail.com wrote:
On Tue, Jul 15, 2008 at 3:14 AM, Puneet Lakhina puneet.lakhina@gmail.com wrote:
Hi,
I use Ubuntu and depend on Synaptic to install/uninstall packages and also to search for packages. I want to gradually learn to do the same things from the command line. Is there any way I can sort of ask synaptic to log all system commands (apt-get or whatever) that it executes with the options?
-- Puneet http://sahyog.blogspot.com/ Latest Post: javac -g -- http://mm.glug-bom.org/mailman/listinfo/linuxers
Check these out:
# cat /var/log/apt/term.log # zcat /var/log/apt/term.log.1.gz ...
-- Cheers, Yesudeep Mangalapilly | येसुदीप मंगलािपल्ली GnuPG: 0x79E237CB | IRC: jburd
Do NOT send me chain forwards. I will ignore you.
Do NOT send me Microsoft Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html
I use free and open source software. http://www.gnu.org/
Apparently, it's very much possible to accidentally click the Send button.
Anyway continuing my reply above. The commands I showed will show you a log of what's installed. If you're looking to learn about commands, you're better off reading man pages or info documents.
Type: `man apt-get` sans quotes for a start.
Yesudeep wrote:
On Tue, Jul 15, 2008 at 3:47 AM, Yesudeep yesudeep@gmail.com wrote:
On Tue, Jul 15, 2008 at 3:14 AM, Puneet Lakhina puneet.lakhina@gmail.com wrote:
Hi,
I use Ubuntu and depend on Synaptic to install/uninstall packages and also to search for packages. I want to gradually learn to do the same things from the command line. Is there any way I can sort of ask synaptic to log all system commands (apt-get or whatever) that it executes with the options?
-- Puneet http://sahyog.blogspot.com/ Latest Post: javac -g -- http://mm.glug-bom.org/mailman/listinfo/linuxers
Check these out:
# cat /var/log/apt/term.log # zcat /var/log/apt/term.log.1.gz ...
-- Cheers, Yesudeep Mangalapilly | येसà¥à¤¦à¥€à¤ª मंगलािपलà¥à¤²à¥€ GnuPG: 0x79E237CB | IRC: jburd
Do NOT send me chain forwards. I will ignore you.
Do NOT send me Microsoft Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html
I use free and open source software. http://www.gnu.org/
Apparently, it's very much possible to accidentally click the Send button.
Anyway continuing my reply above. The commands I showed will show you a log of what's installed. If you're looking to learn about commands, you're better off reading man pages or info documents.
Type: `man apt-get` sans quotes for a start.
While it is no problem to use apt-get install package, apt-get -f install, apt-get update/upgrade etc., how does one get an ncurses (DOS) type interface in command line to scroll different packages that match the query key words so that the package and its description can be read, just as it is done in GUI.
On Tuesday 15 Jul 2008, Rony wrote:
[snip] While it is no problem to use apt-get install package, apt-get -f install, apt-get update/upgrade etc., how does one get an ncurses (DOS) type interface in command line to scroll different packages that match the query key words so that the package and its description can be read, just as it is done in GUI.
apt-cache search "string" | less
On Tue, Jul 15, 2008 at 11:25 PM, Raj Mathur raju@linux-delhi.org wrote:
While it is no problem to use apt-get install package, apt-get -f install, apt-get update/upgrade etc., how does one get an ncurses (DOS) type interface in command line to scroll different packages that match the query key words so that the package and its description can be read, just as it is done in GUI.
apt-cache search "string" | less
Shift+PgUp also works in Ctrl+Alt+F1...F6 `DOS` mode.
On Tue, Jul 15, 2008 at 11:19 PM, Rony gnulinuxist@gmail.com wrote:
While it is no problem to use apt-get install package, apt-get -f install, apt-get update/upgrade etc., how does one get an ncurses (DOS) type interface in command line to scroll different packages that match the query key words so that the package and its description can be read, just as it is done in GUI.
aptitude? Start aptitude and use the search (from menu) available.
Regards, Mohan S N
Mohan Nayaka wrote:
On Tue, Jul 15, 2008 at 11:19 PM, Rony gnulinuxist@gmail.com wrote:
While it is no problem to use apt-get install package, apt-get -f install, apt-get update/upgrade etc., how does one get an ncurses (DOS) type interface in command line to scroll different packages that match the query key words so that the package and its description can be read, just as it is done in GUI.
aptitude? Start aptitude and use the search (from menu) available.
Gosh, it was that simple. Never looked at aptitude before.
Thanks :-)