How to install Qucs in Ubuntu

To install Qucs in Ubuntu

Quite Universal Circuit Simulator (Qucs) is a free-source electronics circuit simulator software. It is used to create a circuit with a graphical user interface. It replicates the large-signal, small-signal and noise behavior of the circuits. Installation of Qucs is explained in this manual.

To install Qucs

First add repository to your apt source by using “ add-apt-repository” command.

root@linuxhelp:~# add-apt-repository ppa:fransschreuder1/qucs 
 This is the official PPA qucs (http://qucs.sourceforge.net), until ubuntu will take qucs back in their repository.
The reason why qucs was out of the ubuntu repository is that it was still using qt3 which was removed from ubuntu 12.10 as well.
 More info: https://launchpad.net/~fransschreuder1/+archive/ubuntu/qucs
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp2g3i9eny/secring.gpg'  created
gpg: keyring `/tmp/tmp2g3i9eny/pubring.gpg'  created
gpg: requesting key 0EEFBFEA from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2g3i9eny/trustdb.gpg: trustdb created
gpg: key 0EEFBFEA: public key " Launchpad usbpicprog-stable"  imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK


Run the following command to update your newly added repository.

root@linuxhelp:~# apt-get update 
Get:1 http://ppa.launchpad.net/fransschreuder1/qucs/ubuntu xenial InRelease [22.4 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]            
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]    
Get:4 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [138 kB]
Get:5 http://ppa.launchpad.net/fransschreuder1/qucs/ubuntu xenial/main amd64 Packages [1,116 B]
Get:6 http://ppa.launchpad.net/fransschreuder1/qucs/ubuntu xenial/main i386 Packages [1,116 B]
Get:7 http://ppa.launchpad.net/fransschreuder1/qucs/ubuntu xenial/main Translation-en [516 B]
Get:8 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]   
.
.
.
Get:55 http://in.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [4,280 B]
Get:56 http://in.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [2,428 B]
Get:57 http://in.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,473 B]
Get:58 http://in.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [2,699 B]
Get:59 http://in.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [1,540 B]
Get:60 http://in.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [1,544 B
Get:61 http://in.archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [1,484 B]
Get:62 http://in.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [197 B]
Get:63 http://in.archive.ubuntu.com/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]
Get:64 http://in.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [1,000 B]
Get:65 http://in.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [1,000 B]
Get:66 http://in.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [584 B]
Get:67 http://in.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [201 B]
Get:68 http://in.archive.ubuntu.com/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [194 B]
Fetched 38.6 MB in 4min 1s (160 kB/s)                                          
Reading package lists... Done


Then install qucs by using the following command.

root@linuxhelp:~# apt-get install qucs 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  adms aglfn asco autotools-dev ca-certificates-java default-jre-headless
  freehdl gnuplot-data gnuplot-tex gnuplot-x11 guile-2.0 iverilog java-common
  libaec0 libamd2.4.1 libarpack2 libblas-common libblas3 libcamd2.4.1
  libccolamd2.9.1 libcholmod3.0.6 libcxsparse3.1.4 libfltk-gl1.3 libfltk1.3
  libfreehdl0-dev libfreehdl0v5 libgfortran3 libgl1-mesa-glx libgl2ps0
  libglapi-mesa libglpk36 libgraphicsmagick++-q16-12 libgraphicsmagick-q16-3
  libhdf5-10 liblapack3 libltdl-dev liblua5.1-0 libmagick++-6.q16-5v5
  liboctave3 libopenblas-base libosmesa6 libplot2c2 libpstoedit0c2a libqhull7
  libqrupdate1 libqscintilla2-12v5 libqscintilla2-l10n libqt4-designer
  libqt4-opengl libqt4-qt3support libqt4-svg libsz2 libtext-unidecode-perl
  libtool libumfpack5.7.1 libxml-libxml-perl libxml-namespacesupport-perl
.
.
.
.
Adding debian:Buypass_Class_2_CA_1.pem
Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem
Adding debian:DigiCert_Global_Root_G2.pem
done.
Setting up default-jre-headless (2:1.8-56ubuntu2) ...
Setting up octave (4.0.0-3ubuntu9.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for ca-certificates (20160104ubuntu1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed  done.
Running hooks in /etc/ca-certificates/update.d...
done.

To launch qucs

Run the following command to launch Qucs from the terminal.

root@linuxhelp:~# qucs  

The qucs application appears, click New to create a new window.

Set file name and click Create.

All the components of the project appears.

Start generating your own electrical circuits.


Once you have created your design, save it by hitting on Save button.

Tag : Qucs
Comment
gerryglauser
Feb 04 2018
It would be very useful to start with a date, then the versions of Ubuntu and Qucs that you are using. At this point it appears the repository version is broken, and builds are only available for previous Ubuntu versions. Even after building from the source it doesn't work. No matter how good your info is, it will eventually go out of date, but without that date there, nobody will know.
Add a comment
FAQ
Q
What is Qucs in Ubuntu?
A
Qucs is currently developed on GNU/Linux systems using the GNU Autotools (and CMake experimentally). For this reason, it is very likely that Qucs runs on all kinds of Unix systems supporting an appropriate system interface and an installed environment.
Q
On which OS will Qucs run?
A
1. Qucs is currently developed on GNU/Linux systems using the GNU Autotools (and CMake experimentally).
2. It is very likely that Qucs runs on all kinds of Unix systems supporting an appropriate system interface and an installed Qt® environment. It has been verified that Qucs can be installed on GNU/Linux, Solaris 2.9, MacOS 10.5, NetBSD, FreeBSD and Cygwin (Unix emulation layer for Windows)
Q
Qucs does not start on my MacOSX. What's wrong?
A
Please contact the developers. Provide details and if available a crash report.
Q
What kind of software is need to be installed on my system to run Qucs?
A
Currently, Qt4 (version 4.6 and higher) are known to work well. To compile guess you will need some additional packages like qt4-dev-tools, bison, flex, gperf, and adms-2.3.0 (included into Qucs)
Q
How can I set the language for Qucs?
A
If you want to change the language for the Qucs GUI you need to quit Qucs and then

$ export LANG=de
for German for example. Then start Qucs again. Also, you can change the language in the application settings dialog