Code Monkey home page Code Monkey logo

flatpak-pt's Introduction

Flatpak-builder manifest for Cisco Packet Tracer

Based on Freedesktop runtime.

The Software License Agreement of Cisco Packet Tracer forbids third party distribution. This means that public flatpak repositories cannot provide this app for you. But don't worry, this repo helps you to build the flatpak package by yourself from scratch. Flatpak-building is a simple, distro-independent process, just follow the steps below.

Let's do it!

Clone this repo

$ git clone https://github.com/rpallai/flatpak-pt.git

Install flatpak-builder and build dependencies

$ sudo dnf install flatpak-builder
$ flatpak install flathub org.freedesktop.Platform/x86_64/18.08 org.freedesktop.Sdk/x86_64/18.08

DNF is for Fedora, you might want to use 'apt' here. If the "flathub" repository is not installed yet, see this guide.

Download Packet Tracer

Supported releases:

  • Packet Tracer 7.1.1 for Linux 64 bit.tar.gz
  • Packet Tracer 7.2.1 for Linux 64 bit.tar.gz

You can download these from netacad.com after login. Put that file into the "flatpak-pt" folder, next to the .json manifest. Do not unpack the archive.

Replace "com.cisco.PacketTracer-71" below with "com.cisco.PacketTracer-72" if you've chosen version 7.2.

Build and install with flatpak

$ cd flatpak-pt && flatpak-builder --delete-build-dirs --force-clean --user --install build-dir com.cisco.PacketTracer-71.json

Now you can run the app if the build succeeded. Use your application launcher as usual.

Do not move the newly created "./.flatpak-builder" directory while the package is installed.

Set the "PT7HOME" environment variable

This step is required for ptaplayer which is a javaws applet used by web assessments. This applet works pretty well with different versions/spins of Java.

$ echo "export PT7HOME=~/.local/share/flatpak/app/com.cisco.PacketTracer-71/current/active/files" >>~/.bashrc

Log off, log in and that's all!

You can test your installation here.

Notes

  • NetacadExamPlayer is not supported in 7.2

flatpak-pt's People

Contributors

rpallai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flatpak-pt's Issues

NetacadExamPlayer in 7.2

I installed 7.1 and it works!.... THANK YOU!

Curious:

Why is NetacadExamPlayer not supported in 7.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.