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:01:40
HotZone
6 days ago $4.64 earned"Prepare for WAR" - Confronting the URGENT Threat to America
52.4K16 -
20:23
Scammer Payback
10 hours agoTerrifying Scammers with File Deletions
29K9 -
16:22
The Gun Collective
7 hours agoWOW! 17 New Guns JUST GOT RELEASED!
34.1K10 -
1:13:57
Glenn Greenwald
7 hours agoYoung Men and Online Radicalization: Dissecting Internet Subcultures with Lee Fang, Katherine Dee, and Evan Barker | SYSTEM UPDATE #516
171K72 -
1:14:57
Sarah Westall
5 hours agoCEO of Crowds on Demand: The Fake World of Social Media, Protests & Movements w/ Adam Swart
55.2K6 -
4:03:25
Geeks + Gamers
8 hours agoTuesday Night's Main Event
74.6K2 -
40:36
RiftTV
6 hours agoHow We Got 400 Leftists FIRED for MOCKING Charlie Kirk | The Rift | Guest: Olivia Krolczyk
73.9K59 -
1:28:58
Badlands Media
20 hours agoBadlands Story Hour Ep 134: Godzilla Minus One
43.6K7 -
1:33:43
Patriots With Grit
16 hours agoWrongful Death Without Consequences: Inside the Schara Trial | Scott Schara
23.4K1 -
13:09:25
LFA TV
19 hours agoLFA TV ALL DAY STREAM - TUESDAY 9/16/25
244K49