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!
-
2:49:53
Barry Cunningham
6 hours agoLIVE BREAKING NEWS: President Trump Celebrates Hanukkah! And More News
53.5K11 -
1:29:40
Anthony Rogers
13 hours agoEpisode 394 - Isaac Butterfield
25K1 -
8:02
China Uncensored
12 hours agoChina Just Took The First Step Towards WAR
31.6K17 -
1:20:04
Flyover Conservatives
1 day agoWhy Did Jesus Really Come? It’s NOT What You Think - Pedro Adao | FOC Show
30.9K3 -
2:18:25
DLDAfterDark
4 hours ago $2.55 earnedYo Homie! Is That My Briefcase?? EDC & Gun Talk - Blue Waffle Giveaway Pre Stream
29.1K2 -
1:34:23
Glenn Greenwald
8 hours agoSydney Shooting Exploited for Pro-Israel Censorship and Anti-Muslim Crackdowns; How Media DEI Was the Opposite of Diversity | SYSTEM UPDATE #559
140K127 -
1:09:01
MattMorseTV
7 hours ago $53.39 earned🔴Trump just handed Congress THE EVIDENCE.🔴
56.8K118 -
1:01:54
BonginoReport
9 hours agoVanity Fair Goes Nuclear On Trump’s Inner Circle - Nightly Scroll w/ Hayley Caronia (Ep.198)
153K69 -
53:25
Katie Miller Pod
10 hours ago $9.14 earnedFBI Director Kash Patel & Alexis Wilkins on Balancing Their Relationship with Work | KMP Ep.19
45.1K32 -
1:15:37
Candace Owens
9 hours agoErika And I Sat Down. Here’s What Happened. | Candace Ep 280
226K927