Skip to content

Instantly share code, notes, and snippets.

@GoodnessEzeokafor
Created January 4, 2020 10:21
Show Gist options
  • Select an option

  • Save GoodnessEzeokafor/e3a2665bb482addbb603269428424967 to your computer and use it in GitHub Desktop.

Select an option

Save GoodnessEzeokafor/e3a2665bb482addbb603269428424967 to your computer and use it in GitHub Desktop.
Installing Ganache on ubuntu
  • Ubuntu, open a browser and navigate to https://github.com/trufflesuite/ganache/releases
  • Download the latest Linux release which will be the *.AppImage file.For example ganache-1.3.0-x86_64.AppImage.
  • Once the download is complete, open a new terminal and change into the directory with the *.AppImage file.
  • Use chmod to make the file executable: chmod a+x ganache-1.3.0-x86_64.AppImage
  • You will be prompted if you want to integrate the application into your system. For convenience, click Yes. This will allow you to launch Ganache later from Ubuntu Application menu
  • Ganache will launch and prompt if you want to enable Google Analytics tracking to help the developers improve the software. Toggle this off if you wish, then click Continue.
@Ibro-ochu

Copy link
Copy Markdown

Pleas guide me on step by step process of opening a new terminal and changing into the directory with the *.AppImage fie.

@IamHenryOkeke

Copy link
Copy Markdown
  1. Open your terminal
  2. Change into directory(folder) where the downloaded file is located with the command: cd DirectoryName
  3. Use chmodin your terminal to make the file executable with the command: chmod a+x ganache-2.5.4-linux-x86_64.AppImage
  4. Launch the application from your Files at your convenience

@GoodnessEzeokafor

Copy link
Copy Markdown
Author

u can also right-click on the appimage file, go to properties and change Access to Read and Write @Ibro-ochu

@ElBethy

ElBethy commented Apr 26, 2022

Copy link
Copy Markdown

Thanks for sharing. This is very useful

@iosmonbekov

iosmonbekov commented Aug 23, 2022

Copy link
Copy Markdown

Ganache do not appear in my sytem menu. Does somebody know what a problem?

@aakashchoudhary5815

Copy link
Copy Markdown

I am facing the same issue as @iosmonbekov . I can run the ganache while clicking it at the download location but it is not visible in my system menu. Please help.

Thanks in adcance

@jihane01

Copy link
Copy Markdown

@aakashchoudhary5815 AppImages require FUSE version 2 to run so this link would be helpful https://github.com/AppImage/AppImageKit/wiki/FUSE

@IsGameliel

Copy link
Copy Markdown

Thanks this was helpful..

@IsGameliel

Copy link
Copy Markdown

I am facing the same issue as @iosmonbekov . I can run the ganache while clicking it at the download location but it is not visible in my system menu. Please help.I am facing the same issue as @iosmonbekov . I can run the ganache while clicking it at the download location but it is not visible in my system menu. Please help.

Thanks in adcance

Thanks in adcance

You should install fuse by using this sudo apt-get install fuse libfuse2

@mohamed-aiman

Copy link
Copy Markdown

What worked for me. Ubuntu 22.04

1 - download AppImage
2 - open terminal cd into the downloaded directory
3 - make the file executable

sudo chmod a+x ganache-2.5.4-linux-x86_64.AppImage

4 - install fuse for system to be able to open AppImage

sudo apt-get install fuse libfuse2

5 - open the file either by GUI or through terminal

./ganache-2.5.4-linux-x86_64.AppImage

@PrincesoDan

Copy link
Copy Markdown

Thanks for this

@Mahmoud-Mourad-Dev

Copy link
Copy Markdown

What worked for me. Ubuntu 22.04

1 - download AppImage 2 - open terminal cd into the downloaded directory 3 - make the file executable

sudo chmod a+x ganache-2.5.4-linux-x86_64.AppImage

4 - install fuse for system to be able to open AppImage

sudo apt-get install fuse libfuse2

5 - open the file either by GUI or through terminal

./ganache-2.5.4-linux-x86_64.AppImage

thank you

@GoodnessEzeokafor

Copy link
Copy Markdown
Author

Mahmoud

thanks for this p

What worked for me. Ubuntu 22.04

1 - download AppImage 2 - open terminal cd into the downloaded directory 3 - make the file executable

sudo chmod a+x ganache-2.5.4-linux-x86_64.AppImage

4 - install fuse for system to be able to open AppImage

sudo apt-get install fuse libfuse2

5 - open the file either by GUI or through terminal

./ganache-2.5.4-linux-x86_64.AppImage

thanks for this updated reply

@GoodnessEzeokafor

Copy link
Copy Markdown
Author

@aakashchoudhary5815 AppImages require FUSE version 2 to run so this link would be helpful https://github.com/AppImage/AppImageKit/wiki/FUSE

thanks for this update

@Anonymous961

Copy link
Copy Markdown

If you want to make Ganache accessible from your application menu, you can create a .desktop entry:

  1. Create a new file called ganache.desktop in the applications directory:
sudo nano /usr/share/applications/ganache.desktop
  1. Add the following content to the file:
[Desktop Entry]
Name=Ganache
Comment=Ganache Personal Blockchain
Exec=/path/to/downloaded/directory/ganache-2.7.1-linux-x86_64.AppImage
Icon=/path/to/icon/ganache-icon.png
Terminal=false
Type=Application
Categories=Development;
  • Replace /path/to/downloaded/directory/ganache-2.7.1-linux-x86_64.AppImage with the actual path to your Ganache AppImage.
  • Replace /path/to/icon/ganache-icon.png with the path to an icon image for Ganache if you have one.
  1. Save the file and exit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment