An Interest In:
Web News this Week
- February 29, 2024
- February 28, 2024
- February 27, 2024
- February 26, 2024
- February 25, 2024
- February 24, 2024
- February 23, 2024
My Minimal Linux Setup 2020
My preferred Os of choice is Linux, and with that, I often spend quite a lot of time setting up my environment. After 'distro' hopping, PopOS is my distro of choice. My bare minimum includes:
. Git
. Node & npm
. Ruby & rails via RVM(version manager for all things ruby)
. SQLite
. Atom text editor
Installations
This installation guide assumes you are using a Debian/Ubuntu-based Linux distro.
before you start it's helpful to update your package information and do any necessary upgrades.
$ sudo apt-get update$ sudo apt-get upgrade
Git
Installing Git is as simple as running the install command and setting up your global user.
apt-get install git
To configure your profile run the following:
$ git config --global user.name "John Doe"$ git config --global user.email [email protected]
Next, you can generate a new SSH key for authentication with this guide.
You can follow this guide to add the new SSH key to your account.
Node & NPM
To keep this setup minimal, I'll be installing the distro-stable versions for Ubuntu. Run
$ sudo apt install nodejs
and
$ sudo apt install npm
.
RVM (Ruby & Rails)
RVM's official installation guide is the best source to use when installing RVM. It even offers a few diffent install options.
After installing GPG keys with this:
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
You can choose any of the basic installs. I go for the "Poor man's Rails installer"
\curl -sSL https://get.rvm.io | bash -s stable --rails
\curl -sSL https://get.rvm.io | bash -s stable --ruby
This installs the latest stable version of Ruby and Rails.
After everything is finished installing, restart your terminal.
Sqlite
Check to see if you currently have Sqlite installed with $ sqlite3 ---version
If you don't get a version number, install it with $ sudo apt install sqlite3
Text Editor
The default text editors don't usually do it for me so I'll end up installing Atom instead.
Original Link: https://dev.to/loripb/my-minimal-linux-setup-2020-2m0m
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To