How to Install apt or apt-get and Synaptic on RedHat Linux or Fedora
 

How to Install apt or apt-get and Synaptic on RedHat Linux or Fedora

 

This post was last updated on October 15th, 2020 at 01:01 am

Quick and simple to do command line apt:

System-wide proxy set up:
If you have to use a proxy then you can set it up system-wide here:

Make some changes to /etc/profile just before the following line:

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

When you’re done it will look like this:

http_proxy=http://proxy.mydomain.com:8080
https_proxy=https://proxy.mydomain.com:8080

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC http_proxy https_proxy

(I’ve bolded the changes so you’ll see which lines to add)

Download apt:

https://freshrpms.net/apt/

Install apt:
rpm -hUv apt-0.5.5cnc6-fr0.rh80.1.i386.rpm

Set up apt’s proxy:
vi /etc/apt/apt.conf
Make the following change:
Proxy “http://proxy.mydomain.com:8080/“; // http://user:[email protected]:port/

Install synaptic:
apt-get update && apt-get install synaptic

Run synaptic:
synaptic

(Please don’t place synaptic in the background!)

Previous How To Add a User During Kickstart
Next Kickstarter
 

About author

shibaa987
shibaa987 275 posts

Linux kernel developer and a firmware developer with an experience of 10+ years.

View all posts by this author →

You might also like

CentOS / RHEL 0 Comments

RedHat Serial Port Console Install

This post was last updated on October 15th, 2020 at 01:48 amContents1 Terminology2 Step 1. Attach the Null Modem Cable3 Step 2. Set up the Terminal Program on Machine #1:4

Ubuntu / Debian 0 Comments

How to change default fonts on Ubuntu 20.04 LTS?

There are various ways by which you can change the appearance of the Ubuntu desktop for instance you can apply a new theme, change the font style, etc. You can

Ubuntu / Debian 0 Comments

How to install and use Tor browser in Ubuntu?

Tor is a free and open-source web browser. It can be used for browsing the internet without revealing the user’s identity. Using tor makes it difficult to trace any online

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply