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!
-
1:05:01
Timcast
2 hours agoInfowars Reporter MURDERED Was On Ukrainian "Hit List," Attacks On Tesla Spark CIVIL WAR Fears
41.8K44 -
2:05:43
Matt Kohrs
12 hours agoStock Market Crash: Turnaround Tuesday?! || The MK Show
40.8K4 -
LIVE
LFA TV
15 hours agoTHE WAR WITHIN! | LIVE FROM AMERICA 3.11.25 11AM
7,131 watching -
34:08
BonginoReport
4 hours agoVictory Over Marxism: BLM Plaza Falls (Ep.157) - 03/11/2025
88.4K85 -
2:15:18
Right Side Broadcasting Network
19 hours agoLIVE REPLAY: House Judiciary Hearing on Antitrust Law and the NCAA - 3/11/25
50.5K7 -
DVR
The Tom Renz Show
1 hour agoThe Globalist Engineered Economic Collapse Beginning With Attacks on Elon Musk, X & Tesla
4.52K -
LIVE
The Big Mig™
13 hours ago“DEI with a Side of Debt: Biden’s Trillion-Dollar Giveaway”
2,310 watching -
1:17:34
Dear America
13 hours agoMassive Cyberattack Against Elon's X Sparks Widespread CONCERN! + More Attacks On Tesla Vehicles?!
60.3K21 -
2:59:22
Wendy Bell Radio
7 hours agoOver The Target
72K64 -
LIVE
Bitcoin Policy Institute
3 hours agoBitcoin for America
289 watching