0% found this document useful (0 votes)
25 views

Installation Commands

The document provides instructions for installing various software packages on a Linux system including VS Code, MongoDB Compass, Node.js, Python, C/C++, Java, Git, Postman, XAMPP, Eclipse, MySQL Workbench, and Docker.
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Installation Commands

The document provides instructions for installing various software packages on a Linux system including VS Code, MongoDB Compass, Node.js, Python, C/C++, Java, Git, Postman, XAMPP, Eclipse, MySQL Workbench, and Docker.
Copyright
© © All Rights Reserved
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1) VS code install (from Downloads folder)

sudo apt install ./code_1.85.2-1705561292_amd64.deb

2) Mongo Compass (from Downloads folder :- Install Compass from website)

sudo dpkg -i mongodb-compass_1.41.0_amd64.deb

dpkg
- low level
- It doesn't fetch packages from repositories
- Cant install package with dependencies

• dpkg -i package.deb: Installs a Debian package.


• dpkg -r package: Removes a Debian package.
• dpkg -l: Lists installed packages.

apt
- high level
- Fetch packages from repositories
- Can install package with dependencies

• apt update: Updates the local package index with the latest
information from repositories.
• apt upgrade: Upgrades installed packages to the latest available versions.
• apt install package: Installs a package and its dependencies.
• apt remove package: Removes a package but keeps its configuration files.
• apt purge package: Removes a package along with its configuration files.

3) Install node using snap

sudo snap install node --classic


sudo snap refresh node –channel=18 #to update node version

4) Python

sudo apt install python3


sudo apt install python3-pip

5) C/C++

sudo apt install gcc


sudo apt install g++
6) Java -> Compile once (javac) and interpreet many times (java)

sudo apt install default-jre


sudo apt install default-jdk

JDK -> JRE + javac, jdb


JRE -> Runs java classes , cant interpret (provides environment to use jvm)

7) git

sudo apt install git

8) Postman

sudo apt install snapd


sudo snap install postman

9) XAMPP

sudo chmod 755 xampp-linux-x64-8.2.12-0-installer.run

sudo ./xampp-linux-x64-8.2.12-0-installer.run

sudo /opt/lampp/./manager-linux-x64.run

9) Eclipse

Extract zip file


./ecplipse-inst
Start menu

10) Mysql Workbench

sudo snap install mysql-workbench-community

https://www.youtube.com/watch?v=zRfI79BHf3k&t=227s

Password:root

11) Docker

install docker package repository -> Remove deprecated versions and install new
install docker desktop

https://docs.docker.com

You might also like