1.) add the repo.
sudo add-apt-repository
2.) update the repos
sudo apt-get -qq update
3.) install the application
sudo apt-get install
So I made aliases for those three.
alias repo='sudo apt-get-repository'
alias update='sudo apt-get -qq update'
alias ins='sudo apt-get install'
And using a different example from Ubuntu Geek, the command I give looks like:
"repo ppa:jonabeck && update && ins ifuse"
This single, short command will update the sources.list, update the repos and install the ifuse package with only the normal prompts if they apply. Please see the manpage for each of these commands as well as alias in the case that you want to learn more about each.
--
CafeNinja

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
No comments:
Post a Comment