Skip to main content

Posts

Showing posts from January, 2025

How to install python3 on Ubuntu | Setting Up Your Dev Environment

This post will show how to install python3 and pip in Ubuntu 24.04 OS. This post also shows how to overcome the externally managed environment error $ sudo apt install python3-full python3 python3-pip If you get this error,  error: externally-managed-environment, then you need to create a virtual environment for Python and get things done... Python3 error So here is the step to do that $ python3 -m venv ./pradeep $ source ./pradeep/bin/activate activate is common for Ubuntu/Fedora, activate.fish to be used in Arch Linux  I tried to install a notebook $ pip install notebook so whenever you start running python3 and pip, use this command  $ source ./pradeep/bin/activate For complete details, watch the following video Thats it. Subscribe to my channel for more such videos. Source Codes: https://github.com/tspradeepkumar  My other Channel -  https://www.youtube.com/tspradeepkumar​   My Tech Blog - https://www.nsnam.com/ My Personal webiste - https://www.pr...

ns3 installation on ubuntu | ns-3.43

#ns3 #ubuntu #pradeepkumarts #tspradeepkumar   Here are the requirements 1. Ubuntu 24.04 LTS 2. ns-allinone-3.43.tar.bz2 (Download the above software from https://www.nsnam.org/releases/ns-all... and store it in the home folder (In my case it is /home/pradeepkumar/ folder) This #installation will work for ns-3.38, ns-3.39, ns-3.40, ns-3.41 and ns-3.42 as well. Check the video for more instructions. Open a New Terminal The first command to do is (You can just copy paste the following in your terminal window) $ sudo apt update $ sudo apt install g++ python3 cmake ninja-build git gir1.2-goocanvas-2.0 python3-gi python3-gi-cairo python3-pygraphviz gir1.2-gtk-3.0 ipython3 tcpdump wireshark sqlite3 libsqlite3-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools openmpi-bin openmpi-common openmpi-doc libopenmpi-dev doxygen graphviz imagemagick python3-sphinx dia imagemagick texlive dvipng latexmk texlive-extra-utils texlive-latex-extra texlive-font-utils libeigen3-dev gsl-bin...