5

I tried so many times to install mysql workbench and I faced many problems. The last one is in dependencies. I tried to solve that by typing:

sudo apt -get install mysql-workbench-community-6.0.9-1ubu1204-i386.deb

But unfortunately I got this error:

sudo: apt: command not found

How can I do that with Ubuntu 12.04?

4
  • its not the proper way of installing deb file. Commented Feb 12, 2014 at 12:12
  • where was mysql-workbench-community-6.0.9-1ubu1204-i386.deb file? Commented Feb 12, 2014 at 12:12
  • can you help me please by providing me by the proper way .... because because i spent 3 days to install mysql workbench on ubunto 12.04 and i failed :( !!!!
    – Akari
    Commented Feb 12, 2014 at 12:14
  • in the download directory
    – Akari
    Commented Feb 12, 2014 at 12:15

1 Answer 1

14

The proper command is apt-get instead of apt get.

You need to be careful when typing commands, as you can do lots of damage. For example, typing mkfs.ext3 /dev/sda instead of mkfs.ext3 /dev/sdb will destroy all data on that drive.

THe command's proper form is:

sudo apt-get install mysql-workbench

The above command fetches mysql workbench from the official Ubuntu repository. A repository is a web server containing many programs or files.

It seems like you already downloaded the .deb file associated with the mysql-workbench package, so you can just install it by cd /path/where/you/downloaded/file/ and then running command:

sudo dpkg -i mysql-workbench-community-6.0.9-1ubu1204-i386.deb

EDIT: If you have dependency problems, you should try sudo apt-get -f install

12
  • without space between them ?
    – Akari
    Commented Feb 12, 2014 at 12:11
  • 1
    @Akari yes my dear. apt-get is a command without spaces
    – kamil
    Commented Feb 12, 2014 at 12:14
  • @Akari both ways mentioned in my answer should work for you. Just try them
    – kamil
    Commented Feb 12, 2014 at 12:15
  • last command will work. Commented Feb 12, 2014 at 12:16
  • 1
    @Akari Don't forget to Mark it as answer so that the community will make benefit from it
    – kamil
    Commented Feb 12, 2014 at 12:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .