1

I am doing these via terminal. I am trying to install GCC package on ubuntu-14.04.2-server-i386

I encounter this problem which is similar in nature except my problem is trying to install gcc instead of build essentials.

It appears the solution is to install software-center however i encountered the same problem when I am trying to install software-center.

enter image description here

How do i solve this problem ???

I need to find a way to install software-center and then change the server to Main Server via terminal

Computernerd
  • 1,381
  • 5
  • 17
  • 21

1 Answers1

2

You do not need to install software-center, you need to change your /etc/apt/sources.list to include deb http://archive.ubuntu.com/ubuntu trusty main restricted Since this is a server installation you can use the editor of your choice. Nano should be installed allready. So:

sudo nano /etc/apt/sources.list

and add the line

deb http://archive.ubuntu.com/ubuntu trusty main restricted

and run

apt-get update
apt-get install gcc
muru
  • 197,895
  • 55
  • 485
  • 740
Bruni
  • 10,542