What does this mean?
sudo add-apt-repository ppa:maco.m/ruby sudo apt-get update sudo apt-get install rubygems
Hows does it differ from running
sudo apt-get install rubygems
There are three steps to what you're running:
If you were to simply run
In general, the format ppa:a/b will expand to https://launchpad.net/~a/+archive/b, where you can view the files and download them individually. In your case, that would be https://launchpad.net/~maco.m/+archive/ruby.
Repository is a place where multiple databases are provided .
apt :- A Debian tool used to manage packages. When a user installs a package on a system, it also searches for and then installs or upgrades all the necessary dependent packages to make the package work. The actual command is apt-get.
The Repository mean depot or place for it, and it there in the source.list file, and the add means it add the software apt (aplication), and it when you update it get the files from the www url, and apt whit get whit update means the it update it in the system buffer, and that it for install the rugbygems when you use apt-get install, and you can also after type in this in the terminal:
and it should mean that its upgrade the software, and then enter this in the terminal:
and this should mean an distribution upgrade, and that is also of the software. You can also reconfigure the software, and you should then enter this in the terminal:
and that is its if the conf file does not work, and that is if runs whit an error.