Linux
Linux
B"
Faculty of Electrical Engineering (FGE)
Department of Telecommunications
Command used:
apt –version
Explanation:
This command displays the version number of APT
installed on your Ubuntu system.
Why it is useful:
It confirms that APT is correctly installed and operational
on your system and helps you ensure compatibility with
various software installations.
Step 2: List installed packages
Command used:
dpkg --list | less
Explanation:
- dpkg is the Debian package manager, used
specifically for managing .deb packages on Debian-
based systems like Ubuntu.
- The option --list displays a comprehensive list of all
packages installed on your system.
- less is a pipeline that redirects the output to a
paging utility (less) allowing users to easily scroll
through the output.
Why it is useful:
Command used:
Explanation:
Why it is useful:
Command used:
Explanation:
Why it is useful:
Commands used:
Explanation:
Why it is useful:
Command used:
Explanation:
Why it is useful:
Command used:
Explanation:
Command used:
Explanation:
Why it is useful:
Command used:
Explanation:
Command used:
Explanation:
Command used:
Explanation:
Commands used:
wget https://dl.google.com/linux/direct/google-chrome-
stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
sudo apt --fix-broken install
Explanation:
Command used:
Explanation:
Commands used:
Explanation:
Answer:
We create and activate a virtual environment to isolate
dependencies specific to a project. This prevents conflicts
and ensures that changes or installations in one project
won't negatively affect the dependencies or behavior of
other Python projects on the same machine.
Conclusion