-1

While installing gambas, I am facing some problems.

The list of commands I need to execute follow.

$> sudo add-apt-repository ppa:gambas-team/gambas-daily
$> sudo apt-get update
$> sudo apt-get install gambas3

But when running the first command it shows the following.

sudo: apt-get: command not found  
  • i think it is not running ? how can i test ? – TOM Dec 21 '15 at 9:47
  • 3
    CentOS is RPM-Based Linux Distribution, use yum instead of apt-get. – Tejas Dec 21 '15 at 9:47
  • i tried with "YUM INSTALL GAMBAS3" But it shows like this Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * extras: mirror.tadu.vn * updates: mirrors.nhanhoa.com Setting up Install Process No package gambas3 available. Error: Nothing to do – TOM Dec 21 '15 at 9:49
3

As per the gambas3 Compilation & Installation documentation, there is no direct distro available in centOS 6 to install gambas3.

If you still wants to install, you will have to manually compile and install it. For this, I think, you should try the instructions for Fedora 13, 14, 15 & 16 given in Gambas 3.0 compilation instructions documentation for Fedora.

2

APT(Advanced Packaging Tool) is the default packager used with Debian based distribution
Whereas CentOS is RPM(Redhat Package Manager) based distribution and Yellowdog Updater, Modified (Yum) is the default package manager used in CentOS

So, Either you've to add repository and manage package with yum or you've to install apt package manager for CentOS!

I recommend visiting first package management for CentOS.

1

By default, CentOS uses yum to install packages.

Instead of using apt-get, you run:

sudo yum update sudo yum install gambas3

  • it shows like this Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * extras: mirror.tadu.vn * updates: mirrors.nhanhoa.com Setting up Install Process No package gambas3 available. Error: Nothing to do – TOM Dec 21 '15 at 9:51
  • 1
    It happened because gambas3 is not available in your mirrors links. By the way, I think you should go to gambas3 page and read the installation instruction – linerd Dec 21 '15 at 9:56
0

You cannot use apt-get with centos, this command is being used in Ubuntu. So you can use yum or rpm command in Centos to install rpm binaries.

However, the program you mentioned is not available in RPM based binary. So the only way is, get the source code from gambas3 official site and build in centos distro.

EDIT : I am not sure if it's work but you can download and try to install RPM available for fedora .

rpm -ivh /path/filename.rpm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.