socnet.se: The blockmodeling console app (Win/Linux/Mac)
Current version: Version 1.2 (December 2024)
Written in C# .Net, sharing the same underlying source code, Socnet.se is compiled as self-contained executables/binaries, each targeting a specific platform and processor. There is thus no need to install the .NET runtime when using Socnet.se.
The full source code for Socnet.se is available for download and forking on GitHub:
https://github.com/carlnordlund/socnet
Installation instructions
Download the ZIP file that corresponds to your OS. Unsure about your OS and 32-vs-64-bit? Check out https://whatsmyos.com/.
Windows
- Installation files (zipped setup.exe files):
- ZIP files (zipped socnet.exe files):
For the Installation files: unzip and run the setup-socnet[..].exe. Follow the installation guide. Easy to uninstall later.
For the zipped socnet.exe files: unpack where you want, and run the executable.
Linux
- Debian packages (.deb) - Only version 1.1 (January 2024) right now!:
- ZIP files (Version 1.2):
For ZIP files:
- Download your ZIP file above and unpack at a suitable location
- Open a terminal and navigate to the folder containing the 'socnet' program
- Set execute permissions by entering the following (which you only have to do once):
chmod +x socnet
- If you have root access, it might be a good idea to copy/move the socnet executable file to /usr/local/bin/ or /usr/bin/, as you will then be able to start Socnet from anywhere in a terminal by just typing socnet. To copy the executable, make sure that your terminal is where the socnet executable is and type in the following in the Linux terminal:
sudo cp socnet /usr/local/bin/socnet
Then you can start Socnet from the terminal at any time by simply typing in:
socnet
If you rather keep the executable in your own folder, start Socnet by opening a Linux terminal, navigate to the folder where the socnet executable is, and type in:
./socnet
MacOS
Once you have unzipped your package:
- Open a terminal window and navigate to the folder containing the socnet program
- Enter the following:
sudo chmod +x socnet
- You are now likely required to type in the password of your admin account
To run Socnet, type open socnet in a terminal window and press Enter.
NOTE: When running Socnet on MacOS, the default working directory is evidently not necessarily where your executable is! Mac users should thus start with using the setwd(dir=[dir]) function to make sure that the working directory is what it is supposed to be! Check the Documentation to read more about the working directory and the getwd() and setwd() functions.
Example data
In the Socnet quick-start guide, you will learn some basic functionality using some example networks. Example networks that you will find here:
example_data.zipDownload and unzip in a suitable location: a new folder example_data will appear. To run the examples in the Quick-start Guide, start Socnet and navigate to the parent folder of the example_data folder. You can then load these example networks using the loadmatrix() function.
The following example networks are included:
- baker.txt
Binary symmetrized journal citation data - befig1.txt
Binary symmetrized core-periphery toy example (Borgatti and Everett 1999) - efta.txt
Valued directional commodity trade data within EU/EFTA - galtung.txt
Binary symmetrized feudal interaction (core-periphery) structure, from Galtung (1971) - hlebec.txt
Valued directional notesharing data among slovenian students (Hlebec 1996) - little_league_ti.txt
Binary directional friendship nominations among Little Leage baseball team (Transatlantic industries) - zachary.txt
Binary symmetrized friendship data within a very famous former karate club