How To Install rocketcea on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 406 words
Introduction
In this tutorial we learn how to install rocketcea on Ubuntu.
What is rocketcea
rocketcea is:
RocketCEA makes direct calls to a modified copy of the NASA FORTRAN CEA code in “rocket” mode to calculate Isp, Cstar, Tcham etc. and provides tools to help determine useful mixture ratio range, optimum MR and more.
The modifications to CEA2.f have been made in order to properly handle hydrazine monopropellant’s ammonia dissociation.
A typical use of this program would be to help determine input values for a rocket motor burn simulation program.
There are three methods to install rocketcea on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install rocketcea Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install rocketcea using apt-get by running the following command:
sudo apt-get -y install rocketcea
Install rocketcea Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install rocketcea using apt by running the following command:
sudo apt -y install rocketcea
Install rocketcea Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install rocketcea using aptitude by running the following command:
sudo aptitude -y install rocketcea
How To Uninstall rocketcea on Ubuntu
To uninstall only the rocketcea package we can use the following command:
sudo apt-get remove rocketcea
Uninstall rocketcea And Its Dependencies
To uninstall rocketcea and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove rocketcea
Remove rocketcea Configurations and Data
To remove rocketcea configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge rocketcea
Remove rocketcea configuration, data, and all of its dependencies
We can use the following command to remove rocketcea configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge rocketcea
Dependencies
rocketcea have the following dependencies:
- libc6
- libgcc-s1
- libgfortran5
- python3
- python3
- python3-future
- python3-matplotlib
- python3-numpy
- python3-scipy
- python3
References
Summary
In this tutorial we learn how to install rocketcea package on Ubuntu using different package management tools: apt, apt-get and aptitude.