Premium Only Content

How To Install Apt Packages Without Sudo Permissions
So installing packages on linux is normally easy unless you don't have sudo rights. This can get annoying, I have experienced this in the past and found a work around. Quite a handy one actually. Depending on how you plan to install the packages you will need a sudo password one last time. But after that, in theory, never again, to install .deb packages anyway. I created a post about this a few months ago, the steps of which are here: https://dev.to/rbevin777/installing-apt-packages-without-sudo-4dkm
Also they are outlined below. If you want there is also the code for a python script to do all these manual steps automatically as well so be sure to check that out!
Step 1: Install apt-rdepends
We need this package to get the other apt package dependancies.
sudo apt-get install apt-rdepends -y
Step 2: Download the .deb pacakge
So now you should navigate to the folder you wish to install these packages under. Once you do this you can now download the pakcage and dependencies. In this example I use cflow as the package I wish to install. Replace this with whatever you wish.
apt-get download $(apt-rdepends cflow|grep -v "^ ")
Step 3: Extract the .deb packages.
You will need to extract each deb package individually which is annoying but this can be automated. You can extract the debian packages in the current directory using the following
dpkg -x deb_package.deb .
Step 4: Adding the Packages to the PATH
This can be done by adding the by updating the .profile file
export PATH="$PATH:$HOME/path/to/executable"
Step 5: Refresh the .profile File
When we update the .profile file with the PATH changes, this needs to be then refreshed. This can be done by running the following
source .profile
If you enjoyed the video don't forget to Follow!
-
LIVE
LFA TV
5 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/16/25
4,744 watching -
1:45:59
Dear America
3 hours agoKiller ADMITS To Killing Charlie In DISCORD. Terror Cell EXPOSED! + JD Fills In on Charlie’s Show!
148K83 -
LIVE
Wendy Bell Radio
6 hours agoThe Left Lives In A Bubble
6,836 watching -
LIVE
Barry Cunningham
2 hours agoLIVE BREAKING NEWS: KASH PATEL HEARING!
1,625 watching -
LIVE
House Committee on Energy and Commerce
1 hour agoAppliance And Building Policies: Restoring The American Dream Of Home Ownership And Consumer Choice
40 watching -
LIVE
The Big Migâ„¢
2 hours agoTrump Declares Antifa Is A Domestic Terrorist Organization
2,517 watching -
LIVE
Badlands Media
7 hours agoBadlands Daily: September 16, 2025
3,323 watching -
LIVE
The State of Freedom
4 hours ago#333 Election Integrity Will Save Our Republic
13 watching -
LIVE
Total Horse Channel
18 hours ago2025 WDAA Western Dressage World Championship Show | Day One | Arena One
209 watching -
12:28
Tactical Advisor
5 days agoBudget Helmet Comms | Warden Studios
13.8K