DEV Community

Discussion on: Moving your workflow to Linux

Collapse
 
bgalvao profile image
Bernardo

Well, idk why, I always get excited seeing other people trying out linux :D Coming from windows 10, it felt great to have an OS which is more supportive of installations and software for devs and without all the ad banners that W10 usually threw at me.

Another tip ;). The apt command is to install packages/software from repositories that are in your apt index, which aren't always the latest version. Or sometimes, they are not in the repos.

So, to install software outside any repo, you will usually find .deb packages (rpm if you are on a non-Debian based distro). For example, to install VS code, you download vscode.deb from their website. Then, in the terminal you run dpkg -i path/to/vscode.deb. There's lots of great stuff in Linux.

Collapse
 
marcelbochtler profile image
Marcel Bochtler

The problem with this approach is that you won't get any updates for the software installed this way.

The preferred way to install software should always be to use the package manager provided by the distribution (apt on Ubuntu and Debian based ones).
If the software isn't in the official repository, use a PPA (Personal Package Archive). Preferably an official one. They are kept up to date and provide updates using the package manager.

Only if these two options fail you should use the .deb, and be aware of the implications.

Collapse
 
cyberbobs profile image
Boris Moiseev

You're not exactly wrong, but some Debian packages (including Google Chrome and Visual Studio Code) provided by software vendors automatically add their own software repositories to system and so are automatically updated using the same package manager.